#
while true
do
echo ok
ffmpeg -i udp://239.100.0.0:1234 \
  -acodec libaacplus -ab 64k -ac 2 -ar 48k \
  -vcodec libx264 -preset:v faster -s 640x360 -g 50 \
  -vb 800k -af aresample=min_hard_comp=0.100000 \
  -f flv rtmp://localhost/myapp/test
sleep 1
done

